[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            ishandlelocal - is handle local or remote

  Syntax              int ishandlelocal(int handle);

  Prototype in        doshhk.h

  Remarks             ishandlelocal() detects if a handle is local
                      (Microsoft Networks) or remote (redirected to
                      server).

                      ishandlelocal requires DOS 3.x+

  Return value        ishandlelocal returns:

                            0:  remote
                            1:  local
                           -1:  error

                      If there was an error, Borland's variable errno
                      will contain the error code as follows:

                            1   function number invalid
                            4   no handle available
                            5   access denied
                            6   handle invalid or not open
                           13   data invalid

  See also            iscdevicemoderaw(), isdrivelocal(),
                      isRedirectStdin(), isRedirectStdout(),
                      isremoveable(), setcdevicemode()


See Also: isdrivelocal()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson